// SpriteLight.h: interface for the SpriteLight class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SPRITELIGHT_H__7CC475DD_04B0_4964_9920_837BA5548337__INCLUDED_)
#define AFX_SPRITELIGHT_H__7CC475DD_04B0_4964_9920_837BA5548337__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "SpriteMultiFrame.h"

class SpriteLight : public SpriteMultiFrame  
{
public:
	SpriteLight(LPDIRECT3DTEXTURE9 tex, int nRow, int nCol,int nWidth,int nHeight,float nFrameSpan, int nNumOfFrame,int nLayer);
	virtual ~SpriteLight();
	bool Update( DWORD dwCurrentTime );
private:
	float m_nSpeed;
	float m_th;
	float m_centerx;
	float m_centery;
	float m_ro;
};

#endif // !defined(AFX_SPRITELIGHT_H__7CC475DD_04B0_4964_9920_837BA5548337__INCLUDED_)
